package com.sanyang.lawyer.mapper.record;


import com.sanyang.lawyer.entity.Record_borrow;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface Record_borrowMapper {

    public List<Record_borrow> listall();

    public Record_borrow getbyid(int id);

    public int listcount(Map<String,Object> map);

    public void insert(Record_borrow borrow);

    public void update(Record_borrow borrow);

    public List<Record_borrow> furry(Map<String,Object> map);

    //设为已归还
    public void updatestate(int id);

    public void deleteborrow(int id);


}
